<!Doctype html>
<html>

<head>
    <title>oixan的博客</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html" ; charset="utf-8">
    <link rel="stylesheet" type="text/css" href="../css/blog.css">
    <link rel="stylesheet" type="text/css" href="./bcss/swiper.min.css">
</head>

<body>
    <div class="head">
        <div class="headnav">
            <div class="naveframe">
                <ul class="navlist">
                    <li>
                        <a href="../index.html">
                            主页
                        </a>
                    </li>
                    <li>
                        <a href="../bloglist.html">
                            博客
                        </a>
                    </li>
                    <li>
                        <a href="../about.html">
                            关于
                        </a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="headtext">
            <div class="headtext1">世界很简单，人类很复杂。</div>
            <div class="headtext2">浮生若梦，寻寻觅觅。</div>
        </div>
    </div>

    <div class="contents-all">
        <div class="contents">

            <div class="frame">
                <div class="title">
                    <h3>swiper应用滑动效果</h3>
                </div>
                <div class="dtime">时间：2018-06-13</div>
                <div class="detail">

                    <style>
                        .swiper-slide img{
                            width: 60%;
                        }
                        .sw {
                            position: relative;
                            width: 100%;
                            height: 100%
                        }

                        .swiper-container {

                            width: 100%;
                            height: 100%;
                        }

                        .swiper-slide {
                            text-align: center;
                            /*
                            font-size: 18px;
                            background: #fff;
                            */
                            height: 100%;

                            /* Center slide text vertically */
                            display: -webkit-box;
                            display: -ms-flexbox;
                            display: -webkit-flex;
                            display: flex;
                            -webkit-box-pack: center;
                            -ms-flex-pack: center;
                            -webkit-justify-content: center;
                            justify-content: center;
                            -webkit-box-align: center;
                            -ms-flex-align: center;
                            -webkit-align-items: center;
                            align-items: center;
                        }
                    </style>
                    <p>swiper应用滑动效果</p>
                    <div class="sw">
                    <div class="swiper-container">
                        <div class="swiper-wrapper">
                            <div class="swiper-slide"><img src="../img/blogimg/20180613c1.jpg" ></img></div>
                            <div class="swiper-slide"><img src="../img/blogimg/20180613c2.jpg" ></img></div>
                            <div class="swiper-slide"><img src="../img/blogimg/20180613c3.jpg" ></img></div>
                            <div class="swiper-slide"><img src="../img/blogimg/20180613c4.jpg" ></img></div>
                            <div class="swiper-slide"><img src="../img/blogimg/20180613c5.jpg" ></img></div>
                        </div>
                        <!-- Add Pagination -->
                        <div class="swiper-pagination"></div>
                    </div>
                </div>


                </div>
                <a href="javascript:void(0)" onclick="showPg()">返回</a>
            </div>


        </div>
    </div>
    <div class="footer">
        <div class="footertext">©2018,oixan博客</div>
    </div>
    <span id="backtop" onclick="topFunction()">返回顶部</span>
    <!-- Swiper JS -->
    <script src="./bjs/swiper.min.js"></script>

    <!-- Initialize Swiper -->
    <script>
        var swiper = new Swiper('.swiper-container', {
            loop:true,
            autoplay: true,
            autoplay: {
                disableOnInteraction: false,
                },
            pagination: {
                el: '.swiper-pagination',
            },
        });
    </script>
</body>
<script  src="../js/fanhuiye.js"></script>
</html>